package cn.com.gensoft.app.web.user.service.impl;

import cn.com.gensoft.app.core.service.impl.BaseServiceImpl;
import cn.com.gensoft.app.web.user.entity.SysUserEntity;
import cn.com.gensoft.app.web.user.repository.SysUserMapper;
import cn.com.gensoft.app.web.user.service.SysUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;


/**
 * 业务层
 * @author hlj
 */
@Service
@Transactional(rollbackFor = Exception.class)
public class SysUserServiceImpl extends BaseServiceImpl<SysUserMapper,SysUserEntity> implements SysUserService {

	@Autowired
	private SysUserMapper sysUserMapper;

	@Override
	public SysUserEntity getByUserName(String username) {
		return sysUserMapper.getByUserName(username);
	}

}
